
const useImgSize = (src:string) => {
    const img = new Image();
    img.src = src;        
    return img.naturalWidth/img.naturalHeight
}

export default useImgSize;